<%-- 
    Document   : login
    Created on : Jan 17, 2015, 11:56:45 AM
    Author     : toint
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html:form action="/loginAction.do" method="POST" styleId="frm">
    <fieldset>
        <legend>LOGIN</legend>
        <table width="100%">
            <tr>
                <td>
                    <bean:message key="login.user.name" />
                </td>
                <td>
                    <html:text property="userName" styleId="userName" style="width: 100%" />
                </td>
            </tr>
            <tr>
                <td>
                    <bean:message key="login.password" /> 
                </td>
                <td>
                    <html:password property="password" styleId="password" style="width: 100%" />
                </td>
            </tr>
            <tr>
                <td align="center">
                    <button>
                        <span>
                            <bean:message key="login.login" />
                        </span>
                    </button>
                </td>
            </tr>
        </table>
    </fieldset>
</html:form>
